//package com.token.config.interceptor;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
///**
// * Created by Zhang on 2018/8/26.
// */
//@Configuration
//public class InterceptorConfig extends WebMvcConfigurerAdapter {
//
//
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//
//        //配置 不需要拦截的包和请求
//   String[] excludePathPatterns=new String[]{
//           "/css/**",
//           "/frame/**",
//           "/js/**",
//           "/backstage/**",
//           "/admin/login.html",
//           "/user/userLogin.html",
//           "/admin/SendSMS",
//           "/admin/equalsCache",
//           "/admin/land",
//           "/user/createExcel",
//           "/user/land",
//           "/user/userLoginTo.html",
//           "/user/userLoginResult.html",
//           "/user/loginResult"
//
//
//   };
//        registry.addInterceptor(new Admininterceptor()).addPathPatterns("/**").excludePathPatterns(excludePathPatterns);    }
//
//
//}
